package com.study.service;

import com.study.bean.entity.DormitoryBuilding;
import com.study.bean.entity.Student;
import com.study.bean.query.BuildAdmin;
import com.study.bean.query.Rooms;
import com.study.bean.query.StudentQuery;
import com.study.bean.vo.StudentVO;
import com.study.util.PageInfo;

import java.util.List;

public interface StudentService {

    PageInfo selectByPage(StudentQuery studentQuery);


    int delById(int i, int id);


    List<DormitoryBuilding> selectbuild();

    List<Rooms> selectRoom(int i);
    List<BuildAdmin> selectAdmin(int buildId);

    StudentVO selectById(int i);

    Boolean addStudent(Student student);


    Boolean updateStudent(Student student);
}
